package com.learn.core.domain.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName MessageUser
 * @date 2021.06.22 09:41
 */
@TableName("message_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="MessageUser对象", description="VIEW")
public class MessageUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("message_id")
    private Integer messageId;

    @TableField("message_content")
    private String messageContent;

    @TableField("message_type")
    private String messageType;

    @TableField("create_time")
    private Date createTime;

    @TableField("message_user_id")
    private Integer messageUserId;

    @TableField("state")
    private String state;

    @TableField(exist = false)
    private Integer count;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getMessageUserId() {
        return messageUserId;
    }

    public void setMessageUserId(Integer messageUserId) {
        this.messageUserId = messageUserId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
